package Test1_1;

import java.awt.*;

public class E1_1 {
    public static void main(String[] args) {
        Frame frame=new Frame("租车系统");
        Panel p=new Panel();
        p.add(new TextField("这是一个文本框"));
        p.add(new Button("确定"));
        frame.add(p);
        frame.setBounds(100,100,500,300);
        frame.setVisible(true);
    }
}
